<?php defined( 'DS') || define( 'DS', DIRECTORY_SEPARATOR );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- slider -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/style.css" />
<!-- css -->
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/stylesheet.css" type="text/css" rel="stylesheet" />
<!-- js -->    
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/jquery.js"></script>

<script type="text/javascript">
    $(document).ready(function() {
      $('#slidemarginleft button').click(function() {
        var $marginLefty = $(this).next();
        $marginLefty.animate({
          marginLeft: parseInt($marginLefty.css('marginLeft'),10) == 0 ?
            $marginLefty.outerWidth() :
            0
        });
      });
    });
</script>

<title>..: GreyFinder :: Welcome :..</title>
</head>
<body>
    <div class="header">
        <div class="wrapper">
            <h1 class="logo"><a href="/"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/logo.png" alt="logo" /></a></h1>
            <div class="right-block">
                <div id="slidemarginleft" class="search-box slide">
                <!-- 
                    <button class="bt-01">slide it</button>
                    <div class="inner" style="margin-left: 350px;">
                        <input type="text" value="" name="search-input" />
                    </div>
                -->
                </div>
                
                <div class="main-menu">
                	<jdoc:include type="modules" name="top" />
                </div>
            </div>
        </div>
    </div>
	<?php if( JRequest::getVar('view') != 'frontpage' ):?>
    <div class="main-content sub-page">
        <div class="wrapper">
        	<!-- banner subpage -->
	        <div class="sub-banner">
		        <img width="970" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/img-subbanner-02.jpg">
		    </div>
		    <!-- end banner subpage -->
		    <div style="margin: 30px 0;"></div>
            <div class="left-column">
                <jdoc:include type="component" />          
            </div>
            <div class="right-column">
                <jdoc:include type="modules" name="right" />
            </div>
        </div>
    </div>
	<?php else:?>
        <div class="main-content">
        <div class="wrapper">
        	<!-- banner home -->
        	<div class="banner">
		        <div id="wowslider-container1">
		            <div class="ws_images">
		                <ul>
		                    <li><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/img-banner-01.jpg" alt="img-banner-01" title="Career <br />Opportunities" id="wows1_0"/></li>
		                    <li><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/img-banner-02.jpg" alt="img-banner-02" title="Career <br />Opportunities 02" id="wows1_1"/></li>
		                    <li><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/img-banner-03.jpg" alt="img-banner-03" title="Career <br />Opportunities 03" id="wows1_2"/></li>
		                </ul>
		            </div>
		        </div>
		    </div>
		    <div class="wrapper title-green">
		        <div class="title-main"><p>Career Opportunities</p></div>
		    </div>
		    <!-- end banner home -->
		    <div class="mt-90"></div>
            <div class="left-column">
                <jdoc:include type="modules" name="user3" />
            </div>

            <div class="right-column">
                <jdoc:include type="modules" name="right" />
            </div>
        </div>
    </div>

    <!-- our service -->
    <jdoc:include type="modules" name="user1" />
 	<!-- our client -->
    
	<!-- Some featured clients -->
    <jdoc:include type="modules" name="slideshow" />
 	<!-- our client -->
 	<?php endif;?>
    <div class="copyright"><p>Copyright © 2014 Greyfinders Company.</p></div>

	<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/wowslider.js"></script>
	<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/script.js"></script>
	<!-- End WOWSlider.com BODY section -->

    <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/jquery.bxslider.min.js"></script>
    <script>
      (function($) {
        $('#logo-clients').bxSlider({
          pager: false,
          speed: 700,
          margin: 50
        });
      }(jQuery));
    </script>
    
	</body> 
</html>